package IC.SymbolTable;

import IC.Types.TypeTable;
import IC.Types.Type;
import java.util.*;

public class MethodSymbol extends Symbol {

	public MethodSymbol(String symName, Type returnType, List<Type> paramTypes, boolean isStatic){
		super(symName,"METHOD");
		this.type = TypeTable.methodType(returnType, paramTypes);
		this.isStatic = isStatic;
		this.isInherited = false;
	}
	
	public boolean isStatic(){
		return this.isStatic;
	}
	
	// does somebody inherited from me?
	public boolean isInherited;
	
	// is static?
	private boolean isStatic;
	

}
